package com.knxhd;

import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * 主要演示
 *
 * @author tianluhuaØ
 * @Classname DemoMain
 * @Date 2023/5/23 22:14
 */
public class DemoMain {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext applicationContext = new ClassPathXmlApplicationContext("applicationContext.xml");
		Person person = applicationContext.getBean(Person.class);
		System.out.println(person.test());
	}
}
